<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <title>注册页面</title>
    <link rel="stylesheet" href="../css/base.css" />
    <link rel="stylesheet" href="../css/form.css" />
  </head>
  <body>
    <div class="header">
      <h1>注册页面</h1>
    </div>
    <div class="login-container">
      <form id="registerForm">
        <div class="form-group">
          <label>用户名：</label>
          <input type="text" id="username" name="username" required />
        </div>
        <div class="form-group">
          <label>密码：</label>
          <input type="password" id="password" name="password" required />
        </div>
        <div class="form-group">
          <label>确认密码：</label>
          <input
            type="password"
            id="confirmPassword"
            name="confirmPassword"
            required
          />
        </div>
        <div class="form-group">
          <label>昵称：</label>
          <input type="text" id="nickname" name="nickname" required />
        </div>
        <div class="form-group login-link">
          <span>已有账号，<a href="./login.html">直接登录</a></span>
        </div>
        <div class="form-group">
          <button type="submit">注册</button>
        </div>
      </form>
    </div>
    <script src="../lib/axios.min.js"></script>
    <script src="../lib/http.js"></script>
    <script src="../js/register.js"></script>
  </body>
</html>
